package org.dromara.swimming.domain.vo;

import org.dromara.swimming.domain.Email;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 邮箱管理视图对象 email
 *
 * @author Ashufen
 * @date 2024-05-09
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Email.class)
public class EmailVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱")
    private String mail;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "email_status")
    private Integer status;


}
